<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>       
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>我的工作台</title>
<%@ include file="/WEB-INF/jsp/common/inc.jsp" %>
<script type="text/javascript" src="${_resources}datepicker/WdatePicker.js"></script>
<script  type="text/javascript">
</script>
</head>
<style type="text/css">
.ban_a, .yue_a{margin:0px;padding: 3px 15px 6px;bottom: 20px;left: 90px;position: absolute;}
.ban_content,.yue_content{position: relative;}
</style>
<body>
<div class="main">
	<ul id="ul" class="nav_ul ofo" style="margin-top:10px;overflow: hidden;width: 99%;">
      <li style="width:8%;margin-left:1%;" id = "projectInfoLi" name='menu_a' class='navicon_on_a'><a id='icon1_b' href="${_baseUrl}/myWorkbench/showKDWorkRead" target='contIframe_a'>文档管理</a></li>
      <li style="width:8%" name='menu_a'><a href="${_baseUrl}/myWorkbench/showKTWorkRead" target='contIframe_a'>测试管理</a></li>
      <li style="width:8%" name='menu_a'><a href="${_baseUrl}/myWorkbench/showDemandWorkRead" target='contIframe_a'>需求管理</a></li>
      <li style="width:75%"></li>
    </ul>
	<div id='iframeCont' class='iframeCont'>
	   <iframe name='contIframe_a'  class='contIframe' frameborder='0' width='100%' height='100%' frameborder="none" scrolling="auto"></iframe>
	</div> 
</div>
</body>
<script type='text/javascript'>
	 window.onload = function(){
		 setAuto();
		 navStatus();
		 initHeight2();
     }
// =============================================
	function initHeight2(){
		var topH = $('nav_ul').height();
		initheight = document.documentElement.clientHeight - topH-40,
		oCont = $('#iframeCont') ;
		oCont.height(initheight);
	};
function navStatus(){
  var oNav = $(".nav_ul li[name='menu_a']"),
          oIfr = $('.contIframe');
  document.getElementById('icon1_b').click();
  oNav.each(function(){
    $(this).click(function(){
      $(this).removeClass("navicon_on_a").addClass("navicon_on_a");
      oNav.not($(this)).removeClass('navicon_on_a');
    });
  });
};
	// 设置自适应
	function setAuto(){
		var initwidth = document.documentElement.clientWidth;
		if(initwidth >= '1680'){
			$('html').css('font-size','100%');
		}else if(initwidth >= '1025'){
			$('html').css('font-size','90%');
		}else {
			$('html').css('font-size','80%');
		}
	}
</script>
</html>